﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class SalesOrganization : Interface.ISalesOrganization
    {
        public int Id { get; set; }
        public string CreatedTime { get; set; }
        public int NumberOfProducts { get; set; }
        public string Currency { get; set; }

        // Used by the XML parser:
        public List<Product> Products { get; set; }

        public SalesOrganization() { }
        public SalesOrganization(int id, string createdTime, int nop, string currency)
        {
            this.Id = id;
            this.CreatedTime = createdTime;
            this.NumberOfProducts = nop;
            this.Currency = currency;
        }
    }
}
